class MainSetModel {
  int code;
  String msg;
  String time;
  Data data;

  MainSetModel({this.code, this.msg, this.time, this.data});

  MainSetModel.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    msg = json['msg'];
    time = json['time'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['msg'] = this.msg;
    data['time'] = this.time;
    if (this.data != null) {
      data['data'] = this.data.toJson();
    }
    return data;
  }
}

class Data {
  String aboutUs;
  String agreementPolicy;
  String carRecruit;
  String csMobile;
  String email;

  Data(
      {this.aboutUs,
      this.agreementPolicy,
      this.carRecruit,
      this.csMobile,
      this.email});

  Data.fromJson(Map<String, dynamic> json) {
    aboutUs = json['about_us'];
    agreementPolicy = json['agreement_policy'];
    carRecruit = json['car_recruit'];
    csMobile = json['cs_mobile'];
    email = json['email'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['about_us'] = this.aboutUs;
    data['agreement_policy'] = this.agreementPolicy;
    data['car_recruit'] = this.carRecruit;
    data['cs_mobile'] = this.csMobile;
    data['email'] = this.email;
    return data;
  }
}
